@layout("/backend/common/_container.html"){
<div class="dhcc-form">
    <form method='post' id="cdcDictionaryInfoForm" name="cdcDictionaryInfoForm" enctype="multipart/form-data">
	
        <#Hidden id="id" value="${cdcDictionary.id}"/>

		<#Input id="code" name="代码" value="${cdcDictionary.code}"/>
		<#Input id="description" name="描述" value="${cdcDictionary.description}"/>
        <#SelectForm id="dictypeId" name="字典类型" url="/cdc/cdcdictype/query" key="id" text="description" hasEmpty="false" width="500px" value="${cdcDictionary.dictypeId}"/>
		<#SwitchBox id="isActive" name="是否有效" value="${cdcDictionary.isActive}"/>
        <div class="toolbar">
        	<#Button name="保存" id="ensure" icon="icon-w-save" clickFun="CdcDictionaryInfoDlg.editSubmit()"/>
        	<#Button btnCss="l-bt-red" name="关闭" id="cancel" icon="icon-w-close" clickFun="CdcDictionaryInfoDlg.close()"/>
        </div>
    </form>
</div>
<script src="${ctxPath}/static/backend/cdc/cdcdictionary/cdcdictionary_info.js"></script>
@}
